package com.ea.common.report.pojo.param;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.bind.annotation.RequestParam;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class GetReportListParam {

    private List<Long> companyIdList;


    private List<Long> deptIdList;


    private List<Long> positionIdList;


    private List<Long> userIdList;

    private List<Integer> warningTypeList;


    private List<Integer> statusList;

    private String name;

    private Date postStartDate;


    private Date postEndDate;


    private Date receiveStartDate;


    private Date receiveEndDate;


    private Date emoAnalyStartDate;


    private Date emoAnalyEndDate;


    private Date heartRateStartDate;


    private Date heartRateEndDate;

    @NotNull(message = "页码不能为空")
    private Integer page;


    @NotNull(message = "每页条数不能为空")
    private Integer pageSize;
}
